<template>
  <div :class="className" v-show="flag">
      {{ WordData }}
  </div>
</template>

<script>
export default {
data() {
  return {
    flag:false,
    title:['32','asf','654'],
    time:3000,
    WordData:'',
    className:''
  }
},
}
</script>

<style lang="scss" scoped>
$sizes: 40px, 50px, 80px;
.success{
    width: 80%;
    height: 60px;
    border-radius: 12px;
    background:#42B993;
    text-align: center;
    line-height: 60px;
}
.babi{
    width: 80%;
    height: 60px;
    border-radius: 12px;
    background:pink;
    text-align: center;
    line-height: 60px;
}

</style>